<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>物流管理</title>
    <link href="/public/css/base.css" rel="stylesheet">
    <link href="/public/css/store.css" rel="stylesheet">
    <link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->

</head>

<body>
    <header>
        <div id="logo">
            <a href="/"></a>
        </div>
        <nav class="topnav" id="topnav">
            <a href="/"><span>首页</span><span class="en">Index</span></a>
            <a href="/students"><span>物流管理</span><span class="en">Logictics</span></a>
            <a href="/detail"><span>仓库明细</span><span class="en">Forms</span></a>
            <a href="/store"><span>仓储管理</span><span class="en">Store</span></a>
            <a href=""><span>财务管理</span><span class="en">Finance</span></a>
            <a href=""><span>系统维护</span><span class="en">System</span></a>
            <a href="/about"><span>关于我们</span><span class="en">About</span></a>
        </nav>
    </header>


    <div class="navlist">
        <ul class="nav nav-pills nav-stacked ">
            <li class="btn"><a href="/">首页</a></li>
            <li class="btn"><a href="/students">物流管理</a></li>
            <li class="btn"><a href="/sotre">仓库明细</a></li>
            <li class="btn btn-info"><a href="">仓库管理</a></li>
            <li class="btn"><a href="">财务管理</a></li>
        </ul>
    </div>


    <div class="main">
        <div class="mydata table-responsive">


            <div class="search form-inline">
                <a class="btn btn-success add " href="/store/new_store">添 加</a>
                <div class="form-group ">
                    <input type="text" class="form-control" id="exampleInputEmail2" style="width:500px">
                </div>
                <button class="btn btn-info">搜 索</button>
            </div>



            <table class="mytable table table-striped table table-bordered  table-hover">
                <thead>
                    <tr>
                        <th>操作仓库编号</th>
                        <th>操作人编号</th>
                        <th>操作时间</th>
                        <th>操作商品编号</th>
                        <th>操作类型</th>
                        <th>剩余数量</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    {{ each stores }}
                    <tr>
                        <td>{{ $value.num_store }}</td>
                        <td>{{$value.store_peo}}</td>
                        <td> {{$value.time}} </td>
                        <td> {{$value.num_goods}} </td>
                        <td> {{$value.opt_type}} </td>
                        <td>{{$value.num}}</td>
                        <th>
                            <a href="/store/edit_store?id={{ $value.id }}" class="btn btn-info">修改</a>
                            <a href="/store/delete?id={{ $value.id }}" class="btn btn-danger">删除</a>
                        </th>
                    </tr>
                    {{/each}}
                </tbody>
            </table>
        </div>


    </div>



</body>

</html>